//package com.sprint.questai.xinference;
//
//import dev.langchain4j.data.segment.TextSegment;
//import dev.langchain4j.model.output.Response;
//import dev.langchain4j.model.output.TokenUsage;
//import dev.langchain4j.model.scoring.ScoringModel;
//
//import java.util.List;
//
//import static dev.langchain4j.internal.RetryUtils.withRetry;
//import static java.util.Comparator.comparingInt;
//import static java.util.stream.Collectors.toList;
//
///**
// * @Author: mayixiang
// * @Date: 2024/6/23 11:01
// * @Description: score model
// */
//public class XScoreModel implements ScoringModel {
//    @Override
//    public Response<List<Double>> scoreAll(List<TextSegment> segments, String query) {
//
//    }
//}
